package com.group.three.service.impl.myorderimpl;

import com.group.three.entity.myOrder.MemberEvaluationDTO;
import com.group.three.mapper.MemberEvaluationMapper;
import com.group.three.service.myorderservice.MemberEvaluationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MemberEvaluationServiceImpl implements MemberEvaluationService {
    @Autowired
    private MemberEvaluationMapper memberEvaluationMapper;
    @Override
    public int addMemberEvaluation(MemberEvaluationDTO memberEvaluationDTO) {
        return memberEvaluationMapper.addMemberEvaluation(memberEvaluationDTO);
    }

    @Override
    public int modifyOrderCommentStatus(String orderSn) {
        return memberEvaluationMapper.modifyOrderCommentStatus(orderSn);
    }
}
